﻿<ResourceDictionary 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:c="clr-namespace:Sonce.Controls;assembly=Sonce.Controls">
    <Style x:Key="ConsoleStyle" TargetType="c:Console">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="c:Console">
                    <Grid x:Name="RootElement">
                        <!--Start Visual Elements-->
                        <Border Background="{StaticResource BrushBlue4}" VerticalAlignment="Top" HorizontalAlignment="Left">
                            <StackPanel x:Name="pnlStack" Margin="2" Orientation="Vertical" VerticalAlignment="Top" HorizontalAlignment="Left">
                                <!--StackPanel is dynamically populated in the code-->
                            </StackPanel>
                        </Border>
                        <!--End Visual Elements-->
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
